<%@ taglib prefix="s" uri="/struts-tags"%>
<s:form method="post" action="saveAccountsOptions" theme="simple">
	<table width="100%">
		<tr>
			<td height="40" class="sectionheading bottom-border">
				User Registration Page Options
			</td>
		</tr>
		<tr>
			<td>
				<table class="verdana12blacknormal" width="100%">
					<tr>
						<td align="left" class="verdana12Greybold">
							<p>
								Please check the fields required to be filled by the user on the
								registration form.
							</p>
							<table class="verdana12blacknormal" width="100%" align="left"
								border="1">
								<tr align="left">
									<td align="center" class="verdana12Greybold">
										Field
									</td>
									<td align="center" class="verdana12Greybold">
										Required
									</td>
									<td align="center" class="verdana12Greybold">
										Register
									</td>
									<td align="center" class="verdana12Greybold">
										Edit Profile
									</td>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Email:
									</td>
									<s:iterator value="optionslist">
										<s:hidden name="myEntitiesMap['%{id}'].id" value="%{id}"></s:hidden>
										<td width="20%" align="center">
										<s:if test="%{id>2}">
											<s:checkbox theme="simple"
												name="myEntitiesMap['%{id}'].email"
												cssClass="Textfiled-border" value="%{email}" />
										</s:if>
										<s:else>
										<s:checkbox theme="simple"
												name="myEntitiesMap['%{id}'].email"
												cssClass="Textfiled-border" value="%{email}" disabled="true"/>
										<s:hidden name="myEntitiesMap['%{id}'].email" value="%{email}" />
										</s:else>
										</td>
									</s:iterator>
								</tr>

								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										First name:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].firstName" value="%{firstName}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Last name:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].lastName" value="%{lastName}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Company:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].company" value="%{company}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Job title:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].jobTitle" value="%{jobTitle}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Street:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].street" value="%{street}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										City:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].city"
												cssClass="Textfiled-border" value="%{city}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Zip:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].zip"
												cssClass="Textfiled-border" value="%{zip}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Phone:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple"
												name="myEntitiesMap['%{id}'].phone"
												cssClass="Textfiled-border" value="%{phone}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Mobile:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple"
												name="myEntitiesMap['%{id}'].mobile"
												cssClass="Textfiled-border" value="%{mobile}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Fax:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].fax"
												cssClass="Textfiled-border" value="%{fax}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Website:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].webSiteAddress"
												value="%{webSiteAddress}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Promotional Code:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].promotionalCode"
												value="%{promotionalCode}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										TimeZoneFormat:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple" cssClass="Textfiled-border"
												name="myEntitiesMap['%{id}'].userTimeZone"
												value="%{userTimeZone}" />
										</td>
									</s:iterator>
								</tr>
								<tr>
									<td width="40%" align="right" class="verdana12blacknormal">
										Agree:
									</td>
									<s:iterator value="optionslist">
										<td width="20%" align="center">
											<s:checkbox theme="simple"
												name="myEntitiesMap['%{id}'].Agree"
												cssClass="Textfiled-border" value="%{Agree}" />
										</td>
									</s:iterator>
								</tr>

							</table>
						</td>
					</tr>
					<tr>
						<td width="100%" colspan="2" align="left"
							class="verdana12Greybold">
							&nbsp;
							<p>
								Billing Information:
						</td>
					</tr>

				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table class="verdana12blacknormal" width="100%" align="left"
					border="1">
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Card Type:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].cardType" value="%{cardType}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Card Number:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].cardNumber" value="%{cardNumber}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Name on card:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].nameOnCard" value="%{nameOnCard}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Expiration Month:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].expirationMonth"
									value="%{expirationMonth}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Expiration Year:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].expirationYear"
									value="%{expirationYear}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							CCV:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].ccv"
									cssClass="Textfiled-border" value="%{ccv}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Issue Number:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].issueNumber"
									value="%{issueNumber}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Card Bank:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].cardBank" value="%{cardBank}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Card Bank Phone:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].cardBankPhone"
									value="%{cardBankPhone}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Billing Street:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].billingStreet"
									value="%{billingStreet}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Billing City:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].billingCity"
									value="%{billingCity}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Billing State:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].billingState"
									value="%{billingState}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Billing Zip:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].billingZip" value="%{billingZip}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							Billing Country:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" cssClass="Textfiled-border"
									name="myEntitiesMap['%{id}'].billingCountry"
									value="%{billingCountry}" />
							</td>
						</s:iterator>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td width="100%" colspan="2" align="left" class="verdana12Greybold">
				&nbsp;
				<p>
					Custom Fields:
			</td>
		</tr>
		<tr>
			<td>
				<table class="verdana12blacknormal" width="100%" align="left"
					border="1">
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User1:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user1"
									cssClass="Textfiled-border" value="%{user1}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User2:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user2"
									cssClass="Textfiled-border" value="%{user2}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User3:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user3"
									cssClass="Textfiled-border" value="%{user3}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User4:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user4" cssClass="Textfiled-border"
									value="%{user4}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User5:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user5" cssClass="Textfiled-border"
									value="%{user5}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User6:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user6"
									cssClass="Textfiled-border" value="%{user6}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User7:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user7"
									cssClass="Textfiled-border" value="%{user7}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User8:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user8"
									cssClass="Textfiled-border" value="%{user8}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User9:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user9"
									cssClass="Textfiled-border" value="%{user9}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User10:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user10"
									cssClass="Textfiled-border" value="%{user10}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User11:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user11"
									cssClass="Textfiled-border" value="%{user11}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User12:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user12"
									cssClass="Textfiled-border" value="%{user12}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User13:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user13"
									cssClass="Textfiled-border" value="%{user13}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User14:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user14"
									cssClass="Textfiled-border" value="%{user14}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User15:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user15"
									cssClass="Textfiled-border" value="%{user15}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User16:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user16"
									cssClass="Textfiled-border" value="%{user16}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User17:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user17"
									cssClass="Textfiled-border" value="%{user17}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User18:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user18"
									cssClass="Textfiled-border" value="%{user18}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User19:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user19"
									cssClass="Textfiled-border" value="%{user19}" />
							</td>
						</s:iterator>
					</tr>
					<tr>
						<td width="40%" align="right" class="verdana12blacknormal">
							User20:
						</td>
						<s:iterator value="optionslist">
							<td width="20%" align="center">
								<s:checkbox theme="simple" name="myEntitiesMap['%{id}'].user20"
									cssClass="Textfiled-border" value="%{user20}" />
							</td>
						</s:iterator>
					</tr>


				</TABLE>
			</td>
		</tr>
		<tr align="center">
			<td align="center">
				<s:submit type="image" src="../Admin-Images/save-chagnes-button.gif" />
				<button type="reset" style="border:none;background-color:#fff "> <img src="../Admin-Images/reset-button.gif" alt="Reset"></button>

			</td>
		</tr>
	</table>
</s:form>